package cn.com.sise.service.impl;

import cn.com.sise.dao.IAdminDao;
import cn.com.sise.dao.impl.AdminDaoImpl;
import cn.com.sise.entity.Admin;
import cn.com.sise.service.IAdminService;

public class AdminServiceImpl implements IAdminService {
    @Override
    public Admin login(Admin admin) throws Exception {
        IAdminDao adminDao=new AdminDaoImpl();
        return adminDao.checkUser(admin);
    }
}
